package com.frame.db.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel("分页请求")
@Data
@Accessors(chain = true)
public class Query {

    @ApiModelProperty(value = "每一页条数",required = true)
    private Integer size = 10;

    @ApiModelProperty(value = "当前页",required = true)
    private Integer current = 1;
}
